package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    public int  selectByCategoryIdInt(Long id);

    public List<Setmeal> selectall(int pageCount,int pageSize);

    public int selectcount();

    public List<Setmeal> selectbyname(int pageCount,int pageSize,String name);

    public void savesetmeal(Setmeal setmeal);
    public int getstatusbyid(Long id);

    public void deletebyid(Long id);

    public String getnamebyid(Long id);

    public void updatestatusbyid(Setmeal setmeal);

    public List<Setmeal> selectbycategoryandstatus(Setmeal setmeal);
}
